//
//  FMNavigationBar.h
//  FMLibrary
//
//  Created by cc on 13-9-3.
//  Copyright (c) 2013年 cc. All rights reserved.
//

#import "FMView.h"

@class FMNavigationBar;

@protocol FMNavigationBarDelegate <NSObject>

-(void)fmNavigationBar:(FMNavigationBar*)fmNavigationBar didSelectedAtTag:(NSUInteger)tag;

@end

@interface FMNavigationBar : FMView
{
    NSMutableArray *_buttons;
    IBOutlet UILabel *_titleLabel;
    UIButton *_backButton;
    UIButton *_rightButton;
    
}

@property (nonatomic, weak) IBOutlet id<FMNavigationBarDelegate> delegate;
@property (nonatomic, retain) IBOutlet UIButton *backButton;
@property (nonatomic, retain) IBOutlet UIButton *rightButton;

-(NSString*)titleString;
-(void)setTitleString:(NSString*)aTitleString;
@end
